Automattic\WooCommerce\GoogleListingsAndAds\Product\Attributes\AttributeManager S

Total Complexity 32
Dependencies 4
Dependents 6
Total lines 283
Lines of code 112
Logical lines of code 65
Comment lines 103
Methods 14
Properties 1

Methods 14

Method Rating Maintainability Complexity Lines of code
update()
S
60 4 13
get()
S
61 4 12
map_attribute_types()
S
60 3 13
get_all()
S
64 3 10
get_all_values()
S
64 3 10
get_available_attribute_ids()
S
64 3 10
validate()
S
62 2 11
get_value()
S
74 2 4
get_attribute_types_for_product_types()
S
65 2 9
get_attribute_types_map()
S
72 2 6
delete()
S
73 1 5
exists()
S
80 1 3
get_attribute_types_for_product()
S
80 1 3
get_available_attribute_types()
S
79 1 3